<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>忘记密码页面1</title>
    <#assign path="${springMacroRequestContext.getContextPath()}">
    <link rel="stylesheet" href="${path}/layui/css/layui.css">
    <link rel="stylesheet" href="${path}/style/css/wjmm.css">
</head>
<style>
    .layui-btn{
        margin-left: 280px;
        margin-top: 20px;
    }
</style>
<body>
    <div class="beijing">
        <a href="/"><i class="layui-icon layui-icon-return"  style="font-size: 30px; color:gray;margin-left: 10px;
            margin-top: 50px;"></i></a>
        <div class="neirong">
            <div class="wjmm">
                <h2 style="text-align: center; margin-top: 20px; ">您可以通过输入账号并更改找回密码</h2>
                <h4 style="text-align: center;" maxlength="10";>请输入账号</h4>
                <input type="text" class="zhzh" style="margin-top: 20px" id="username">
                <h4 style="text-align: center;margin-top: 50px;" maxlength="10";>请输入密码</h4>
                <input type="password" class="zhzh" style="margin-top: 10px"id="password">
                <a class="layui-btn layui-btn-radius layui-btn-normal" onclick="check()">确定</a>
            </div>
        </div>
    </div>
    <script type="text/javascript">
        function check() {
            if(document.getElementById("username").value=="") {
                alert("请输入用户名！");
                return false;
            } else if(document.getElementById("password").value=="") {
                alert("请输入密码！");
                return false;
            } else if(document.getElementById("username").value=="wujun01"&&document.getElementById("password").value=="123456"){
                window.location.href="/zhuce.html";
                return true;
            }else {
                alert("账户或密码有误,请重新输入！")
                return false;
            }
        }
    </script>
</body>
</html>